package jeconbond.experiment.market.resourcerelations.process;

import jeconbond.experiment.market.resourcerelations.GraigExperimentSettings;
import laboratoryQ.experiment.process.IExperimentContextFactory;
import laboratoryQ.experiment.process.IExperimentContext;
import laboratoryQ.experiment.settings.IExperimentSettings;

public class GraigExperimentContext extends BaseResourceRelationExperimentContext implements IGraigExperimentContext, IExperimentContextFactory {
	public static final IExperimentContextFactory FACTORY_INSTANCE = new GraigExperimentContext();
	
	private GraigExperimentContext() {}

	public GraigExperimentContext(GraigExperimentSettings experimentSettings) {
		super(experimentSettings);
	}

	@Override
	public GraigExperimentSettings getExperimentSettings() {
		return (GraigExperimentSettings)super.getExperimentSettings();
	}

	@Override
	public IExperimentContext newContext(IExperimentSettings settings) {
		return new GraigExperimentContext((GraigExperimentSettings) settings);
	}

	@Override
	public double[][] getComplementaryProbabSums() {
		return abstractProbabSums;
	}
}
